//
//  HExamHeadView.m
//  NursingManages
//
//  Created by Zhen Huang on 17/9/15.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import "HExamHeadView.h"

@implementation HExamHeadView

- (instancetype)init {
    
    self = [super init];
    if (self) {
        
        self.frame = CGRectMake(0, 0, ScreenWidth, 100);
        self.backgroundColor = [UIColor whiteColor];
        
        [self initView];
    }
    return self;
}
- (void)initView {
    self.subjectTypeLabel = [[UILabel alloc]init];
    self.subjectTypeLabel.layer.borderWidth = 1;
    self.subjectTypeLabel.font  = [UIFont systemFontOfSize:9];
    self.subjectTypeLabel.textAlignment = NSTextAlignmentCenter;
    self.subjectTypeLabel.layer.cornerRadius = 2;
    
    [self addSubview:self.subjectTypeLabel];
    _subjectLabel               = [[UILabel alloc]init];
    _subjectLabel.textColor     =[UIColor colorWithRed:0.20 green:0.20 blue:0.20 alpha:1.00];
    _subjectLabel.font          = [UIFont systemFontOfSize:17.0];
    _subjectLabel.textAlignment = NSTextAlignmentLeft;
    
    _subjectLabel.numberOfLines = 0;
    
    [self addSubview:self.subjectLabel];
}

@end
